package cn.wolfcode.web.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.ArrayList;
import java.util.List;

@Setter
@Getter
@ToString
public class Employee {
    private Long id;

    private String name;

    private String email;

    private String password;

    private  Integer age =0;//Integer

    private Boolean admin = false;

    private Long  deptId;
    private String d_name;
    private String d_sn;
    private Department dept;
    private List<Role> roles= new ArrayList<>();//防止空指针

}